<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<c:forEach items="${vidiconList}" var="vidicon" varStatus="statu">
	${vidicon.name}
	<a href="updateVidicon.action?vidicon.id=${vidicon.id}">修改</a>  
	<a href="deleteVidicon.action?vidicon.id=${vidicon.id}" onclick="return confirm('您是否删除')">删除</a><br />
</c:forEach>

<s:form action="addVidicon" method="POST" >
	<s:textfield name="vidicon.name" label="产品名称" />
	<s:textfield name="vidicon.model" label="产品型号" />
	<s:textfield name="vidicon.color" label="色彩" />
	<s:textfield name="vidicon.zhishi" label="制式" />
	<s:textfield name="vidicon.imageMachine" label="成像器材" />
	<s:textfield name="vidicon.lineCount" label="线数" />
	<s:textfield name="vidicon.lens" label="镜头" />
	<s:textfield name="vidicon.light" label="照度" />
	<s:textfield name="vidicon.snr" label="信噪比" />
	<s:textfield name="vidicon.beiguangbuchong" label="背光补充" />
	<s:textfield name="vidicon.autoBuffControl" label="自动增益控制" />
	<s:textfield name="vidicon.electronShutter" label="电子快门" />
	<s:textfield name="vidicon.synchronizationSystem" label="同步系统" />
	<s:textfield name="vidicon.apertureDriveMode" label="光圈驱动方式" />
	<s:textfield name="vidicon.videoSignal" label="视频信号" />
	<s:textfield name="vidicon.focusStyle" label="聚焦方式" />
	<s:textfield name="vidicon.temperature" label="工作温度" />
	<s:textfield name="vidicon.power" label="电源" />
	<s:textfield name="vidicon.infaredDistance" label="红外距离" />
	<s:textfield name="vidicon.angle" label="角度" />
	<s:textfield name="vidicon.infraedLightWavelengh" label="红外灯波长" />
	<s:textfield name="vidicon.life" label="寿命" />
	<s:textfield name="vidicon.waterproofStep" label="防水等级" />
	<s:textfield name="vidicon.lensDriveInterface" label="镜头驱动方式" />
	<s:file name="vidicon.photo" label="产品图片" />
	
	<input type="hidden" name="vidicon.id" value="${vidicon.id}"/>
	
	<s:submit name="增加" label="增加" />
</s:form>
</body>
</html>